﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Runtime.Serialization;

namespace CurlingServer
{
    [DataContract]
    public class PlayerProfile
    {
        [DataMember]
        public string ID { get; set; }
        [DataMember]
        public string Name { get; set; }
        [DataMember]
        public string Location { get; set; }

        public PlayerState State { get; set; }
    }

    public enum PlayerState
    {
        Offline,
        Online,
        InGame
    }

    //[DataContract]
    //public class PlayerStatusEventArgs
    //{
    //    [DataMember]
    //    public PlayerProfile playerProfile;

    //    public PlayerStatusEventArgs(PlayerProfile playerProfile)
    //    {
    //        this.playerProfile = playerProfile;
    //    }
    //}
}